Skip to content

fix(baggage): Enforce W3C size limits on outbound baggage propagation#5161

Closed
lzchen wants to merge 1 commit intomainfrom
fix/baggage-propagator-outbound-limits
Closed

fix(baggage): Enforce W3C size limits on outbound baggage propagation#5161
lzchen wants to merge 1 commit intomainfrom
fix/baggage-propagator-outbound-limits

Conversation

@lzchen
Copy link
Copy Markdown
Contributor

@lzchen lzchen commented Apr 29, 2026

Address size limits for inject outbound calls in baggage. I refactored out length + validation logic out since we are using it for both extract and inject now. One behavioral breaking change is that previously, only VALID entries in extract counted towards the 180 limit but I believe we should count ALL entries so attackers won't be able to fill the header with a bunch of invalid entries. The spec is unclear about this.

Assisted-by: Claude Opus 4.6

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant